
package com.anzhen.interview.xml.study;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * Created by anzhen on 2017-4-27.
 */
@XmlRootElement
public class Person_2 {
	@XmlTransient//排除元素,不参与解析
	public int age = 20;
	private String name = "anzhen";
	private String gender="123";

	public Person_2() {
	}

	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}

}
